home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
util4
/
dfree.lha
/
dfree.readme
< prev
Wrap
Text File
|
1994-11-21
|
2KB
|
49 lines
#############################################################################
## MF "DFREE" - Show free space on a disk ##
## ##
## Written by: Max Francis (francism@cs.man.ac.uk) ##
## Date: 12/02/94 ##
#############################################################################
I wrote dfree because AmigaDOS didn't seem to have a shell command to tell
you simply how much space there was left on a given device/disk. As in "How
much free space do I have on my hard-drive?", reply - "You have 12M left"...
I only really knocked it together quickly with (I hope) a reasonable program
structure. I have tested it on a standard A1200 and an A1200 with Viper
68030 28MHz board. I don't really see why it wouldn't work on other systems,
it's Operating System friendly. However, it does need at least kickstart 2.0
- if you haven't got this, then get it. No one is writing software that will
run on 1.3 or lower any more.
To use DFREE
~~~~~~~~~~~~
Copy "dfree" to your c: directory
"dfree" is a Shell/CLI command. It's synopsis is:
dfree <device> where <device> is a disk or device
- eg. "df0:", "dh0:", "RAM:", "PC0:", etc.
dfree ? shows you the synopsis of the command.
If the value is above 5 meg, it is presented as whole megabytes ("nM free")
If the value is lower than 5 meg, it is presented as Kilobytes ("nk free")
If the value is less than 1 kilobyte, it's shown as Bytes ("n bytes free")
If the value returned is 1 byte, it is presented as "1 byte free".
This program is whatever "ware" being completely free is. But if you do use
it, let me know, (even if its to say that it's complete crap [but tell my
why]) by email (address above) or by normal mail at:
Max Francis
7 Forest Drive
Keston Park
Keston
Kent.
BR2 6EE
-----------------------------------------------------------------------------
PS. Look out for MF "icon" - gives a disk object a standard icon from Shell
and MF "reboot" - perform system reboot as a shell command (for use with
shell scripts, ARexx, PARnetKeys etc.)
-----------------------------------------------------------------------------